package ftl.table;
import base.AutoCode;
public class Make_Table_Per_File {
	public static void main(String[] args) throws Exception 
	{
			  
	String files[][]=
	{
			// sequence  序号 
{"entity.xml" ,"table/t_atable.sql.ftl", "@table/sql/t_sequence.sql", "null.xml",  "object:sequence"},
					
			// setting  参数表 
{"entity.xml" ,"table/t_atable.sql.ftl", "@table/sql/t_setting.sql", "null.xml",  "object:setting"},
					
			// users  用户 
{"entity.xml" ,"table/t_atable.sql.ftl", "@table/sql/t_users.sql", "null.xml",  "object:users"},
					
			// class1  大类 
{"entity.xml" ,"table/t_atable.sql.ftl", "@table/sql/t_class1.sql", "null.xml",  "object:class1"},
					
			// class2  中类 
{"entity.xml" ,"table/t_atable.sql.ftl", "@table/sql/t_class2.sql", "null.xml",  "object:class2"},
					
			// class3  小类 
{"entity.xml" ,"table/t_atable.sql.ftl", "@table/sql/t_class3.sql", "null.xml",  "object:class3"},
					
			// commodity  商品 
{"entity.xml" ,"table/t_atable.sql.ftl", "@table/sql/t_commodity.sql", "null.xml",  "object:commodity"},
					
			// dealer  经销商 
{"entity.xml" ,"table/t_atable.sql.ftl", "@table/sql/t_dealer.sql", "null.xml",  "object:dealer"},
					
			// storage  商品库存 
{"entity.xml" ,"table/t_atable.sql.ftl", "@table/sql/t_storage.sql", "null.xml",  "object:storage"},
					
			// stock  当日入库流水 
{"entity.xml" ,"table/t_atable.sql.ftl", "@table/sql/t_stock.sql", "null.xml",  "object:stock"},
					
			// hstock  历史入库流水 
{"entity.xml" ,"table/t_atable.sql.ftl", "@table/sql/t_hstock.sql", "null.xml",  "object:hstock"},
					
			// returned  当日出库记录 
{"entity.xml" ,"table/t_atable.sql.ftl", "@table/sql/t_returned.sql", "null.xml",  "object:returned"},
					
			// hreturned  历史出库记录 
{"entity.xml" ,"table/t_atable.sql.ftl", "@table/sql/t_hreturned.sql", "null.xml",  "object:hreturned"},
					
			// saleorder  销售单据 
{"entity.xml" ,"table/t_atable.sql.ftl", "@table/sql/t_saleorder.sql", "null.xml",  "object:saleorder"},
					
			// sale  当日销售流水 
{"entity.xml" ,"table/t_atable.sql.ftl", "@table/sql/t_sale.sql", "null.xml",  "object:sale"},
					
			// hsale  历史销售流水 
{"entity.xml" ,"table/t_atable.sql.ftl", "@table/sql/t_hsale.sql", "null.xml",  "object:hsale"},
					
			// money  当日资金流水 
{"entity.xml" ,"table/t_atable.sql.ftl", "@table/sql/t_money.sql", "null.xml",  "object:money"},
					
			// salereport  销售报表 
{"entity.xml" ,"table/t_atable.sql.ftl", "@table/sql/t_salereport.sql", "null.xml",  "object:salereport"},
					
			// hmoney  历史资金流水 
{"entity.xml" ,"table/t_atable.sql.ftl", "@table/sql/t_hmoney.sql", "null.xml",  "object:hmoney"},
					
			// member  会员表 
{"entity.xml" ,"table/t_atable.sql.ftl", "@table/sql/t_member.sql", "null.xml",  "object:member"},
					
			// cart  购物车 
{"entity.xml" ,"table/t_atable.sql.ftl", "@table/sql/t_cart.sql", "null.xml",  "object:cart"},
					
			// esale  网络销售 
{"entity.xml" ,"table/t_atable.sql.ftl", "@table/sql/t_esale.sql", "null.xml",  "object:esale"},
					
			// scommodity  网上订单 
{"entity.xml" ,"table/t_atable.sql.ftl", "@table/sql/t_scommodity.sql", "null.xml",  "object:scommodity"},
					
			// operatelog  操作日志 
{"entity.xml" ,"table/t_atable.sql.ftl", "@table/sql/t_operatelog.sql", "null.xml",  "object:operatelog"},
					
			// eorder  网上订单 
{"entity.xml" ,"table/t_atable.sql.ftl", "@table/sql/t_eorder.sql", "null.xml",  "object:eorder"},
					
			// eorderLog  网上订单日志 
{"entity.xml" ,"table/t_atable.sql.ftl", "@table/sql/t_eorderLog.sql", "null.xml",  "object:eorderLog"},
					
   };
//
	
	for(int i=0;i<files.length;i++)
	  AutoCode.execute(files[i]);
		  
	}
}
/*
 *
 *  xml/entity.xml 	table/t_atable.sql.ftl  Resource/sql/tables/t_WebPage.sql null.xml  object:WebPage;

 */
